package cn.javasea.rbac.shiro.service;

import cn.javasea.rbac.shiro.util.LoginInfor;
import com.alibaba.fastjson.JSONObject;


/**
 * @Description: 账号登录接口
 * @Author: xiangchao
 * @Date: 2023/2/1
 */
public interface SysUserLoginService {

    /**
     * 登录接口
     * @param username 用户名
     * @param password 密码
     * @author xiangchao
     * @date 2023/2/1 19:35
     */
    JSONObject login(String username, String password, LoginInfor infor);

    /**
     * 登录验证
     * @author xiangchao
     * @date 2023/2/2 15:27
     */
    public String loginCheck(String account, String pwd,String ip,String deviceId,String mobile,String mobileCode,String token);

}
